
export const tableMixin = {
  data() {
    return {
      total: 0,
      queryParam: {
        current: 1,
        pageSize: 20
      }
    }
  },
  methods: {
    handleSizeChange(pageSize) {
      this.queryParam.pageSize = pageSize
      this.getList && this.getList();
    },
    handleCurrentChange(current) {
      this.queryParam.current = current
      this.getList && this.getList();
    }
  }
}